package org.springframework.learn.beans.note.editor;

import org.springframework.beans.PropertyEditorRegistrar;
import org.springframework.beans.PropertyEditorRegistry;
import org.springframework.core.io.Resource;

/**
 * Description 注册员
 * Copyright © 启明星辰 版权所有
 *
 * @author chenjiquan
 * @date 2023-07-13
 */
public class AddressEditorRegistrar implements PropertyEditorRegistrar {
	@Override
	public void registerCustomEditors(PropertyEditorRegistry registry) {
		registry.registerCustomEditor(Address.class, new AddressEditor());
	}
}
